home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
wsc4vb24
/
dbase.txt
< prev
next >
Wrap
Text File
|
1999-06-01
|
565b
|
20 lines
*** Using WSC with Visual dBase ***
The program DBASE.PRG is a Visual Visual dBase 7.0 program that transmits
an "AT" to a modem and expects to receive an "OK" back. The port is set
to COM1 but can be changed as necessary.
Refer to the WSC declaration Visual dBase file WSC32.CC for the complete
list of WSC constants and functions.
Note the required syntax for passing strings:
*** Declaration (see WSC32.CC)
extern CLONG SioWinError(CSTRING,CLONG) WSC32.DLL
*** Calling DLL function
Buffer = SPACE(128)
Code = SioWinError(Buffer, 128)